package com.ktgj.customer.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 积分明细
对象 point_record
 * 
 * @author ruoyi
 * @date 2021-07-27*/
public class PointRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 会员积分记录ID*/
    private Long pntRecordId;

    /** 过期时间*/
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "过期时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expiredTime;

    /** 可用积分*/
    @Excel(name = "可用积分")
    private Long availableValue;

    /** 订单描述（客户端展示使用），例如机票 显示航程+航班号*/
    @Excel(name = "订单描述", readConverterExp = "客=户端展示使用")
    private String orderSourceDesc;

    /** 记录编号*/
    @Excel(name = "记录编号")
    private String recordId;

    /** 员工信息ID*/
    @Excel(name = "员工信息ID")
    private Long employeeId;

    /** 客户基本信息ID*/
    @Excel(name = "客户基本信息ID")
    private Long customerId;

    /** 对应订单类型*/
    @Excel(name = "对应订单类型")
    private String orderType ;

    /** 操作积分数量*/
    @Excel(name = "操作积分数量")
    private Long pntValue;

    /** 原因详细说明*/
    @Excel(name = "原因详细说明")
    private String pntReasonDesc;

    /** 对应订单号*/
    @Excel(name = "对应订单号")
    private Long orderId;

    /** 操作时间*/
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operationTime;

    /** 积分方向1,3,10 增加,编号可以合并，保留1和2
            
            2 20 30 减少*/
    @Excel(name = "积分方向1,3,10 增加,编号可以合并，保留1和2 ;;2 20 30 减少")
    private Long pntDirection;

    /** 是否审核 */
    @Excel(name = "是否审核")
    private String audit;

    /** 审核员工id */
    @Excel(name = "审核员工id")
    private Long auditEmployeeId;

    /** 审核时间 */
    @Excel(name = "审核时间")
    private Date auditOperationTime;

    /** 客户已使用积分 */
    @Excel(name = "客户已使用积分")
    private Long usedIntegral;

    /*----------------------------------------------------------------*/

    /**
     * 过期时间（毫秒）
     * */
    private Long millisecond;

    private String msg;

    /**
     * 操作人姓名
     * */
    private String employeeName;
    /**
     * 操作时间
     * */
    private String operationDate;
    /**
     * 操作积分数量
     * */
    private String tmpPntValue;
    /**
     * 会员姓名
     * */
    private String name;
    /**
     * 会员卡号
     * */
    private String num;
    /**
     * 会员积分
     * */
    private String integral;

    /** 过期时间*/
    private String expiredDate;

    /** 对应订单号*/
    private String orderNum;

    /** 审核人 */
    private String auditEmployeeName;

    /** 审核时间 */
    private String auditOperationDate;

    /** 会员姓名 */
    private String customerName;

    /** 会员手机号 */
    private String phone;

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAuditEmployeeName() {
        return auditEmployeeName;
    }

    public void setAuditEmployeeName(String auditEmployeeName) {
        this.auditEmployeeName = auditEmployeeName;
    }

    public String getAuditOperationDate() {
        return auditOperationDate;
    }

    public void setAuditOperationDate(String auditOperationDate) {
        this.auditOperationDate = auditOperationDate;
    }

    public Long getUsedIntegral() {
        return usedIntegral;
    }

    public void setUsedIntegral(Long usedIntegral) {
        this.usedIntegral = usedIntegral;
    }

    public Long getMillisecond() {
        return millisecond;
    }

    public void setMillisecond(Long millisecond) {
        this.millisecond = millisecond;
    }

    public String getAudit() {
        return audit;
    }

    public void setAudit(String audit) {
        this.audit = audit;
    }

    public Long getAuditEmployeeId() {
        return auditEmployeeId;
    }

    public void setAuditEmployeeId(Long auditEmployeeId) {
        this.auditEmployeeId = auditEmployeeId;
    }

    public Date getAuditOperationTime() {
        return auditOperationTime;
    }

    public void setAuditOperationTime(Date auditOperationTime) {
        this.auditOperationTime = auditOperationTime;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public String getExpiredDate() {
        return expiredDate;
    }

    public void setExpiredDate(String expiredDate) {
        this.expiredDate = expiredDate;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getIntegral() {
        return integral;
    }

    public void setIntegral(String integral) {
        this.integral = integral;
    }

    public String getTmpPntValue() {
        return tmpPntValue;
    }

    public void setTmpPntValue(String tmpPntValue) {
        this.tmpPntValue = tmpPntValue;
    }

    public String getOperationDate() {
        return operationDate;
    }

    public void setOperationDate(String operationDate) {
        this.operationDate = operationDate;
    }

    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setPntRecordId(Long pntRecordId)
    {
        this.pntRecordId = pntRecordId;
    }

    public Long getPntRecordId() 
    {
        return pntRecordId;
    }
    public void setExpiredTime(Date expiredTime) 
    {
        this.expiredTime = expiredTime;
    }

    public Date getExpiredTime() 
    {
        return expiredTime;
    }
    public void setAvailableValue(Long availableValue) 
    {
        this.availableValue = availableValue;
    }

    public Long getAvailableValue() 
    {
        return availableValue;
    }
    public void setOrderSourceDesc(String orderSourceDesc) 
    {
        this.orderSourceDesc = orderSourceDesc;
    }

    public String getOrderSourceDesc() 
    {
        return orderSourceDesc;
    }

    public String getRecordId() {
        return recordId;
    }

    public void setRecordId(String recordId) {
        this.recordId = recordId;
    }

    public void setEmployeeId(Long employeeId)
    {
        this.employeeId = employeeId;
    }

    public Long getEmployeeId() 
    {
        return employeeId;
    }
    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public void setPntValue(Long pntValue)
    {
        this.pntValue = pntValue;
    }

    public Long getPntValue() 
    {
        return pntValue;
    }
    public void setPntReasonDesc(String pntReasonDesc) 
    {
        this.pntReasonDesc = pntReasonDesc;
    }

    public String getPntReasonDesc() 
    {
        return pntReasonDesc;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setOperationTime(Date operationTime) 
    {
        this.operationTime = operationTime;
    }

    public Date getOperationTime() 
    {
        return operationTime;
    }
    public void setPntDirection(Long pntDirection) 
    {
        this.pntDirection = pntDirection;
    }

    public Long getPntDirection() 
    {
        return pntDirection;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pntRecordId", getPntRecordId())
            .append("expiredTime", getExpiredTime())
            .append("availableValue", getAvailableValue())
            .append("orderSourceDesc", getOrderSourceDesc())
            .append("recordId", getRecordId())
            .append("employeeId", getEmployeeId())
            .append("customerId", getCustomerId())
            .append("orderType", getOrderType())
            .append("pntValue", getPntValue())
            .append("pntReasonDesc", getPntReasonDesc())
            .append("orderId", getOrderId())
            .append("operationTime", getOperationTime())
            .append("pntDirection", getPntDirection())
            .toString();
    }
}
